import Vue from 'vue';
import {
  Row,
  Col,
  Tabs,
  TabPane,
  Table,
  TableColumn,
  Pagination,
  Dialog,
  Input,
  Radio,
  RadioGroup,
  Select,
  Option,
  Button,
  Form,
  FormItem,
  Tree,
  Checkbox,
  Carousel,
  CarouselItem,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Loading,
  DatePicker,
  Cascader,
  Popover,
  Tooltip,
  Image,
  Upload,
  Menu,
  MenuItem,
  Submenu,
  Step,
  Steps,
  Switch,
  InputNumber,
  RadioButton,
  ColorPicker,
  Autocomplete,
  Transfer,
  Timeline,
  TimelineItem,
  Drawer,
} from 'element-ui';

const EleList = [
  Row,
  Col,
  Tabs,
  TabPane,
  Table,
  TableColumn,
  Pagination,
  Dialog,
  Input,
  Radio,
  RadioGroup,
  Select,
  Option,
  Button,
  Form,
  FormItem,
  Tree,
  Checkbox,
  Carousel,
  CarouselItem,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Loading,
  DatePicker,
  Cascader,
  Popover,
  Image,
  Upload,
  Menu,
  MenuItem,
  Submenu,
  Step,
  Steps,
  Switch,
  InputNumber,
  RadioButton,
  ColorPicker,
  Tooltip,
  Autocomplete,
  Transfer,
  Timeline,
  TimelineItem,
  Drawer,
];

EleList.forEach(item => Vue.use(item));
